package com.sl.au.service;


import com.sl.au.entity.NoticeRecord;
import com.sl.au.repository.AfterSaleActiveRepository;
import com.sl.au.repository.NoticeRecordRepository;

import java.util.List;

public interface NoticeRecordService extends BaseService {

    NoticeRecordRepository getRepository();

    /**
     * 没有查询条件时服务器分页
     * @param start
     * @param length
     * @param superior
     * @param orderName
     * @param dir
     * @return
     */
    List<NoticeRecord> getPage(int start, int length, String orderName, String dir);
    List<NoticeRecord> getNoticeRecords(int start, int length, String key, String orderName, String dir);
}